                        ANSI C Grammar

     This directory contains a complete grammar for ANSI C (in ANSIC.Y), a
lexical analyzer (in LEX.C), error reporting (in ERRORLIB.C and ERRORLIB.H),
a driver routine (in MAIN.C), and a MAKEFILE to build a simple ANSI C syntax
analyzer (in ACC.EXE).  The parser has no semantics.  The lexical analyzer
ignores proprocessor lines.  The lack of any semantics means areas where
syntax and semantics overlap like user defined types are incomplete.  The
error handling is good and illustrates the heuristics given in the tutorials
(in \DOC\ERROR.DOC) for a real grammar.

        To use type "acc test1.ac", try adding some errors to the source
example file test1.ac to explore the error handling and reporting.
